package com.wf.ew.system.service;

import com.wf.ew.common.JsonResult;
import com.wf.ew.common.PageResult;
import com.wf.ew.system.model.Dictionarydata;
import com.wf.ew.system.model.User;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 *
 * 数据服务层接口
 * @author : Doman
 * @date : 2019-08-06 16:09:47
 * @version ：1.0
 */
public interface DictionarydataService {
	public String list(PageResult<T> page, Dictionarydata dictionarydata); //获取表格
	public List<Dictionarydata> list(Dictionarydata dictionarydata); //获取表格
	public Dictionarydata getById(Dictionarydata dictionarydata); //根据Id查询
	public JsonResult add(Dictionarydata dictionarydata, User loginUser); //保存
	public JsonResult update(Dictionarydata dictionarydata, User loginUser); //修改
	public JsonResult delete(Dictionarydata dictionarydata, User loginUser); //删除
	public JsonResult dictdata_code_unique(Dictionarydata dictionarydata);

}
